ihelpuoo.weboo.runtime.ModuleDetailHTML = function()
{
	this.shell = document.createElement("DIV");
	this.title = document.createElement("H1");
	this.comment = ihelpuoo.dom.createSimpleElement("PRE","module_comment")
	
	var div = ihelpuoo.dom.createSimpleElement("DIV","module_intro");
	div.appendChild(ihelpuoo.dom.createSimpleElement("SPAN",null,"This module input-charset is "));
	this.inputCharset = div.appendChild(ihelpuoo.dom.createSimpleElement("B","txt_hightlight"));
	div.appendChild(ihelpuoo.dom.createSimpleElement("SPAN",null,", out-charset is "));
	this.outputCharset = div.appendChild(ihelpuoo.dom.createSimpleElement("B","txt_hightlight"));
	div.appendChild(ihelpuoo.dom.createSimpleElement("SPAN",null,". It provioded installer "));
	this.installer = div.appendChild(ihelpuoo.dom.createSimpleElement("B","txt_hightlight"));
	div.appendChild(ihelpuoo.dom.createSimpleElement("SPAN",null," and uninstaller "));
	this.uninstaller = div.appendChild(ihelpuoo.dom.createSimpleElement("B","txt_hightlight"));
	div.appendChild(ihelpuoo.dom.createSimpleElement("SPAN",null,". Home of javascript files is "));
	this.jsHome = div.appendChild(ihelpuoo.dom.createSimpleElement("B","txt_hightlight"));
	div.appendChild(ihelpuoo.dom.createSimpleElement("SPAN",null,", home of css files and pictures is "));
	this.styleHome = div.appendChild(ihelpuoo.dom.createSimpleElement("B","txt_hightlight"));
	div.appendChild(ihelpuoo.dom.createSimpleElement("SPAN",null,". All its action config files were in "));
	this.actionHome = div.appendChild(ihelpuoo.dom.createSimpleElement("B","txt_hightlight"));
	div.appendChild(ihelpuoo.dom.createSimpleElement("SPAN",null," with file type "));
	div.appendChild(ihelpuoo.dom.createSimpleElement("SPAN",null,". auto-reload is "));
	div.appendChild(ihelpuoo.dom.createSimpleElement("SPAN",null,"."));
	
	this.gasketControllers = document.createElement("DIV");
	this.gasketConfigs = document.createElement("DIV");
	this.gasketMessages = document.createElement("DIV");
	
	this.shell.appendChild(this.title);
	this.shell.appendChild(this.comment);
	this.shell.appendChild(div);
	this.shell.appendChild(this.gasketControllers);
	this.shell.appendChild(this.gasketConfigs);
	this.shell.appendChild(this.gasketMessages);

}

ihelpuoo.weboo.runtime.ModuleDetailHTML.prototype
=
{
	hide: function()
	{
		this.shell.style.display = "none";
	}
	
	,
	show: function()
	{
		this.shell.style.display = "block";
	}

	,
	setTitle: function(s)
	{
		this.title.innerHTML = "Module: " + s;
	}
	
	,
	setComment: function(s)
	{
		this.comment.innerHTML = s;
	}
	
	,
	setInputCharset: function(s)
	{
		this.inputCharset.innerHTML = s;
	}
	
	,
	setOutputCharset: function(s)
	{
		this.outputCharset.innerHTML = s;
	}
	
	,
	setInstaller: function(s)
	{
		this.installer.innerHTML = s;
	}
	
	,
	setUninstaller: function(s)
	{
		this.uninstaller.innerHTML = s;
	}
	
	,
	setActionHome: function(s)
	{
		this.actionHome.innerHTML = s;
	}
	
	,
	setJsHome: function(s)
	{
		this.jsHome.innerHTML = s;
	}
	
	,
	setStyleHome: function(s)
	{
		this.styleHome.innerHTML = s;
	}
	
	,
	setControllersHTML: function(ele)
	{
		this.gasketControllers.innerHTML = "";
		this.gasketControllers.appendChild(ele);
	}
	
	,
	setConfigHTML: function(ele)
	{
		this.gasketConfigs.innerHTML = "";
		this.gasketConfigs.appendChild(ele);
	}
	
	,
	setMessageHTML: function(ele)
	{
		this.gasketMessages.innerHTML = "";
		this.gasketMessages.appendChild(ele);
	}
}